//
//  TravelCommunityCell.m
//  W.E.S.T
//
//  Created by xalo on 16/7/15.
//  Copyright © 2016年 蓝鸥科技有限公司西安分公司. All rights reserved.
//

#import "TravelCommunityCell.h"

@interface TravelCommunityCell ()
@property (weak, nonatomic) IBOutlet UIImageView *photo;

@property (weak, nonatomic) IBOutlet UILabel *name;

@end
@implementation TravelCommunityCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)setCellWithModel:(TravelCommunityModel *)model{
    [self.photo sd_setImageWithURL:[NSURL URLWithString:model.photo]];
    self.name.text=model.name;
   
}
@end
